僒儞僾儖僎乕儉 慡懱偺棳傟恾

偍榣傃
  僉儍儔僋僞偱棳傟傪昞偟偰偄傞偨傔丄捠忢偺僼儘乕僠儍乕僩偲偼
  堎側傞婰弎朄偵側偭偰偄傑偡偑屼椆彸偔偩偝偄丅

1. 儊僀儞儖乕僠儞
2. 廃曈僨僶僀僗弶婜壔
3. 僎乕儉奐巒帪愝掕
4. 僎乕儉杮懱
5. 僆僽僕僃僋僩儅僱乕僕儍
6. 徴撍張棟
6.1 堦斒徴撍張棟
6.2 儃僗徴撍張棟
7. 棊壓敾掕
8. 彑攕墘弌

------------------------------------------------------------------------
1. 儊僀儞儖乕僠儞
   丵丵丵丵丵
  (俽俿俙俼俿)		main.c
   丳丳丳丳丳
       伀
   亄亅亅亅亄		libm.a: DevInit()
   乥弶婜壔乥		initdev.c: UserInitDev()
   亄亅亅亅亄
       伀
   亄亅亅亅亄		game.c: ResetGame()
   乥僎乕儉乥		game.c: game()
   亄亅亅亅亄
       伀
   丵丵丵丵丵
  ( 俤 俶 俢 )
   丳丳丳丳丳
------------------------------------------------------------------------
2. 廃曈僨僶僀僗弶婜壔
   丵丵丵丵丵
  ( 弶 婜 壔 )		initdev.c
   丳丳丳丳丳
       伀
 亄亅亅亅亅亅亄		libm.a: DevInit()
 乥廃曈僠僢僾乥		UserInitDev()
 乥 弶 婜 壔 乥		  僇儔乕僷儗僢僩偺揮憲丒AGL弶婜壔丄愝掕
 亄亅亅亅亅亅亄		  儔僗僞妱傝崬傒嬱摦儖乕僠儞弶婜壔丒PSG 弶婜壔
			  僷僢僪撉傒崬傒晹弶婜壔丒夋柺昞帵愝掕
       伀
   丵丵丵丵丵
  ( 俤 俶 俢 )
   丳丳丳丳丳
------------------------------------------------------------------------
3. 僎乕儉奐巒帪愝掕
   丵丵丵
  (僎乕儉)
   丳丳丳
     伀				game.c: ResetGame()
 亄亅亅亅亅亅亅亅亅亅亅亅亅亄
 乥僼僅儞僩丄僥僋僗僠儍揮憲乥
 亄亅亅亅亅亅亅亅亅亅亅亅亅亄
     伀
 亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄
 乥僾儗僀儎乕愝掕丒儃僗僐傾埵抲弶婜壔乥
 亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄
     伀
 亄亅亅亅亅亅亅亅亅亄		game.c: Opening()
 乥僆乕僾僯儞僌墘弌乥	僎乕儉儌乕僪(1P vs COM, 1P vs 2P)慖戰
 亄亅亅亅亅亅亅亅亅亄
     伀
 亄亅亅亅亅亅亅亅亅亅亅亄	game.c: InitGame()
 乥僎乕儉奐巒帪偺弶婜壔乥僾儗僀儎乕埵抲弶婜壔丒抧柺愝掕丒徴撍僷儔儊乕僞弶婜壔
 亄亅亅亅亅亅亅亅亅亅亅亄僎乕儉儌乕僪偵傛傞憖嶌儖乕僠儞愝掕丒儔僂儞僪悢偵傛傞
     伀			攚宨丄抧柺僥僋僗僠儍偺撉傒崬傒
 亄亅亅亅亅亅亅亅亅亅亅亅亄
 乥僎乕儉僗僞乕僩儘僑昞帵乥	game.c: GameStart()
 亄亅亅亅亅亅亅亅亅亅亅亅亄
     伀
 亄亅亅亅亅亅亄
 乥僎乕儉杮懱乥			game.c: GameMain()
 亄亅亅亅亅亅亄
     伀
 亄亅亅亅亅亅亅亅亅亅亅亅亅亅亄
 乥偳偪傜偐偑晧偗偨傜彑攕墘弌乥	game.c: GameMatch()
 亄亅亅亅亅亅亅亅亅亅亅亅亅亅亄
     伀
  丵丵丵丵丵
 ( 俤 俶 俢 )
  丳丳丳丳丳
------------------------------------------------------------------------
4. 僎乕儉杮懱

   丵丵丵丵丵
  (僎乕儉杮懱)			game.c: GameMain.c
   丳丳丳丳丳
     伀
 亄亅亅亅亅亅亅亅亄
 乥僷僢僪撉傒崬傒乥
 亄亅亅亅亅亅亅亅亄
     伀
 亄亅亅亅亅亅亅亅亅亅亅亄        亄亅亅亅亅亅亄
 乥億乕僘偝傟偰偄傞偐? 乥- YES 仺乥億乕僘張棟乥msl.c: Pause()
 亄亅亅亅亅亅亅亅亅亅亅亄        亄亅亅亅亅亅亄
     伀No                          伀
     伀仼亅亅亅亅亅亅亅亅亅亅亅亅亅亄
 亄亅亅亅亅亅亅亅亅亅亄         亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄object.c:
 乥儃僗偺儔僂儞僪偐? 乥 - YES 仺乥儃僗梡僆僽僕僃僋僩儅僱乕僕儍乥BossObjectMan()
 亄亅亅亅亅亅亅亅亅亅亄         亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄
     伀No                              伀
 亄亅亅亅亅亅亅亅亅亅亅亅亄object.c:   伀
 乥僆僽僕僃僋僩儅僱乕僕儍乥ObjectMan() 乥
 亄亅亅亅亅亅亅亅亅亅亅亅亄            乥
     伀                                乥
     伀仼亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄
 亄亅亅亅亅亅亅亅亅亄
 乥抧柺偺戝偒偝寁嶼乥	ground.c: SetGround()
 亄亅亅亅亅亅亅亅亅亄
     伀
亄亅亅亅亅亅亄        亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄camera.c:
乥懳COM愴偐?乥- YES 仺乥僇儊儔傪帺暘偺帇揰偺傒偱僆僽僕僃僋僩昤夋乥SetCamera()
亄亅亅亅亅亅亄        亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄object.c:
     伀No(1P vs 2P)                      伀 			  DrawObjects()
 亄亅亅亅亅亅亅亅亅亅亅亄                乥			  DrawGround()
 乥1P vs 2P梡偺夋柺昤夋乥                乥
 亄亅亅亅亅亅亅亅亅亅亅亄                乥
     伀                                  乥
     伀仼亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄
 亄亅亅亅亅亅亅亅亅亅亄
 乥奺僾儗僀儎乕偺堏摦乥
 亄亅亅亅亅亅亅亅亅亅亄
     伀
 亄亅亅亅亅亅亅亅亄
 乥巆傝帪娫偺昤夋乥
 亄亅亅亅亅亅亅亅亄
     伀
 亄亅亅亅亅亅亅亅亅亄
 乥僄儞僕儞壒偺嵞惗乥
 亄亅亅亅亅亅亅亅亅亄
     伀
 亄亅亅亅亅亅亅亅亅亅亅亅亄
 乥僆僽僕僃僋僩昤夋柺岎姺乥
 亄亅亅亅亅亅亅亅亅亅亅亅亄
     伀
   丵丵丵丵丵
  ( 俤 俶 俢 )
   丳丳丳丳丳
------------------------------------------------------------------------
5. 僆僽僕僃僋僩儅僱乕僕儍(堦斒丒儃僗)

   丵丵丵丵丵		object.c: ObjectMan()
  (俽俿俙俼俿)		object.c: BossObjectMan()
   丳丳丳丳丳
      伀
 亄亅亅亅亅亄		object.c: IfCollision()
 乥徴撍張棟乥		object.c: IfBossCollision()
 亄亅亅亅亅亄
      伀
 亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄
 乥徴撍帪偺儀僋僞壛嶼丒婡懱埵抲堏摦乥
 亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄
      伀
 亄亅亅亅亅亄
 乥棊壓敾掕乥		fall.c: IfFall()
 亄亅亅亅亅亄
      伀
   丵丵丵丵丵
  ( 俤 俶 俢 )
   丳丳丳丳丳
------------------------------------------------------------------------
6. 徴撍張棟

6.1 堦斒徴撍張棟

   丵丵丵丵丵
  (俽俿俙俼俿)		object.c: IfCollision()
   丳丳丳丳丳
      伀
 亄亅亅亅亅亅亅亅亅亄	object.c: colsub()
 乥徴撍偟偰偄傞偐? 乥- NO 亅亅亅亅亅亅亅亅亅亅亅亄
 亄亅亅亅亅亅亅亅亅亄                           乥
      伀YES                                     乥
 亄亅亅亅亅亅亅亅亅亅亄                         乥
 乥徴撍岠壥帪娫偺愝掕乥                         乥
 亄亅亅亅亅亅亅亅亅亅亄                         乥
      伀                                        乥
 亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄	乥
 乥憡庤恑峴曽岦偺壛懍搙傪斀幩學悢偵傛偭偰壛嶼乥	乥
 亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄	乥
      伀                                        乥
 亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄               乥
 乥徴撍偟偨埵抲偵傛傞婡懱偺夞揮乥               乥
 亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄               乥
      伀                                        乥
 亄亅亅亅亅亅亄                                 乥
 乥徴撍壒嵞惗乥                                 乥
 亄亅亅亅亅亅亄                                 乥
      伀仼亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄
   丵丵丵丵丵
  ( 俤 俶 俢 )
   丳丳丳丳丳
6.2 儃僗徴撍張棟
   丵丵丵丵丵
  (俽俿俙俼俿)		object.c: IfBossCollision()
   丳丳丳丳丳
      伀
 亄亅亅亅亅亅亅亅亅亄	object.c: BossColsub()
 乥徴撍偟偰偄傞偐? 乥- NO 亅亅亅亅亅亅亅亅亅亅亅亄
 亄亅亅亅亅亅亅亅亅亄                           乥
      伀YES                                     乥
 亄亅亅亅亅亅亅亅亅亅亄                         乥
 乥徴撍岠壥帪娫偺愝掕乥                         乥
 亄亅亅亅亅亅亅亅亅亅亄                         乥
      伀                                        乥
 亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄         乥
 乥帺暘偺壛懍搙傪斀幩學悢偵傛偭偰壛嶼乥         乥
 亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄         乥
      伀                                        乥
 亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄               乥
 乥徴撍偟偨埵抲偵傛傞婡懱偺夞揮乥               乥
 亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄               乥
      伀                                        乥
 亄亅亅亅亅亅亄                                 乥
 乥徴撍壒嵞惗乥                                 乥
 亄亅亅亅亅亅亄                                 乥
      伀仼亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄
   丵丵丵丵丵
  ( 俤 俶 俢 )
   丳丳丳丳丳
------------------------------------------------------------------------
7. 棊壓敾掕
   丵丵丵丵丵
  (俽俿俙俼俿)		fall.c: IfFall()
   丳丳丳丳丳
      伀
 亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄
 乥婡懱嵗昗偑抧柺嫬奅嵗昗傛傝奜懁偵偁傞偐? 乥- NO 仺亄
 亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄       乥
      伀YES                                         乥
 亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄           乥
 乥婡懱傪抧柺偵傔傝崬傑側偄傛偆偵偢傜偡乥           乥
 亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄           乥
      伀                                            乥
 亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄fall.c:          乥
 乥棎悢偱棊偪偐偨傪寛傔丄棊壓墘弌乥Fall1(),Fall2()  乥
 亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄                 乥
      伀仼亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄
   丵丵丵丵丵
  ( 俤 俶 俢 )
   丳丳丳丳丳
------------------------------------------------------------------------
8. 彑攕墘弌
   丵丵丵丵丵
  (俽俿俙俼俿)		game.c: GameMatch()
   丳丳丳丳丳
      伀
 亄亅亅亅亅亅亅亅亅亅亅亄       亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄
 乥1P vs COM 儌乕僪偐? 乥- NO 仺乥彑棙僾儗僀儎乕偵墳偠偰 ?P WON 昞帵乥
 亄亅亅亅亅亅亅亅亅亅亅亄       亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄
      伀YES                                                         伀
 亄亅亅亅亅亅亅亅亅亄       亄亅亅亅亅亅亄       亄亅亅亅亅亅亅亄   乥
 乥帺暘偑棊偪偨偐? 乥- NO 仺乥儃僗愴偐? 乥- NO 仺乥YOU WON 昞帵乥   乥
 亄亅亅亅亅亅亅亅亅亄       亄亅亅亅亅亅亄       亄亅亅亅亅亅亅亄   乥
      伀YES                      伀YES                  伀          乥
      乥                    亄亅亅亅亅亅亅亄     亄亅亅亅亅亅亅亅亄 乥
      乥                    乥儃僗敋敪張棟乥     乥儔僂儞僪悢憹壛乥 乥
      乥                    亄亅亅亅亅亅亅亄     亄亅亅亅亅亅亅亅亄 乥
      乥                        伀                      伀          乥
      乥                        乥                      乥          乥
      乥                        亄亅亅亅亅亅亅亄        亄亅亅亅亄  乥
      伀                                      乥                乥  乥
 亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄 乥                乥  乥
 乥YOU LOST 傪昞帵偟偨偁偲偵 GAME OVER 昞帵乥 乥                乥  乥
 亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄 乥                伀  乥
      伀亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亄
 亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄         伀
 乥儃僗愴偵撍擖偟偰偄偨側傜婡懱偺僥僋僗僠儍傪撉傒捈偡乥         乥
 亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄         乥
      伀                                                        乥
 亄亅亅亅亅亅亅亅亅亄	game.c: Opening()                       乥
 乥僆乕僾僯儞僌墘弌乥	僎乕儉儌乕僪(1P vs COM, 1P vs 2P)慖戰   乥
 亄亅亅亅亅亅亅亅亅亄                                           乥
      伀仼亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄
   丵丵丵丵丵
  ( 俤 俶 俢 )
   丳丳丳丳丳
